﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x020013F1 RID: 5105
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class TrainPartyGamePassenger : IMessage<TrainPartyGamePassenger>, IMessage, IEquatable<TrainPartyGamePassenger>, IDeepCloneable<TrainPartyGamePassenger>, IBufferMessage
	{
		// Token: 0x17004060 RID: 16480
		// (get) Token: 0x0600E4A0 RID: 58528 RVA: 0x00263577 File Offset: 0x00261777
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<TrainPartyGamePassenger> Parser
		{
			get
			{
				return TrainPartyGamePassenger._parser;
			}
		}

		// Token: 0x17004061 RID: 16481
		// (get) Token: 0x0600E4A1 RID: 58529 RVA: 0x0026357E File Offset: 0x0026177E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return TrainPartyGamePassengerReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17004062 RID: 16482
		// (get) Token: 0x0600E4A2 RID: 58530 RVA: 0x00263590 File Offset: 0x00261790
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return TrainPartyGamePassenger.Descriptor;
			}
		}

		// Token: 0x0600E4A3 RID: 58531 RVA: 0x00263597 File Offset: 0x00261797
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public TrainPartyGamePassenger()
		{
		}

		// Token: 0x0600E4A4 RID: 58532 RVA: 0x002635A0 File Offset: 0x002617A0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public TrainPartyGamePassenger(TrainPartyGamePassenger other) : this()
		{
			this.dIKPBINAOOH_ = other.dIKPBINAOOH_;
			this.passengerId_ = other.passengerId_;
			this.iHLDLJGDCBL_ = ((other.iHLDLJGDCBL_ != null) ? other.iHLDLJGDCBL_.Clone() : null);
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600E4A5 RID: 58533 RVA: 0x002635F8 File Offset: 0x002617F8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public TrainPartyGamePassenger Clone()
		{
			return new TrainPartyGamePassenger(this);
		}

		// Token: 0x17004063 RID: 16483
		// (get) Token: 0x0600E4A6 RID: 58534 RVA: 0x00263600 File Offset: 0x00261800
		// (set) Token: 0x0600E4A7 RID: 58535 RVA: 0x00263608 File Offset: 0x00261808
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint DIKPBINAOOH
		{
			get
			{
				return this.dIKPBINAOOH_;
			}
			set
			{
				this.dIKPBINAOOH_ = value;
			}
		}

		// Token: 0x17004064 RID: 16484
		// (get) Token: 0x0600E4A8 RID: 58536 RVA: 0x00263611 File Offset: 0x00261811
		// (set) Token: 0x0600E4A9 RID: 58537 RVA: 0x00263619 File Offset: 0x00261819
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint PassengerId
		{
			get
			{
				return this.passengerId_;
			}
			set
			{
				this.passengerId_ = value;
			}
		}

		// Token: 0x17004065 RID: 16485
		// (get) Token: 0x0600E4AA RID: 58538 RVA: 0x00263622 File Offset: 0x00261822
		// (set) Token: 0x0600E4AB RID: 58539 RVA: 0x0026362A File Offset: 0x0026182A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ECJBKGKPJCJ IHLDLJGDCBL
		{
			get
			{
				return this.iHLDLJGDCBL_;
			}
			set
			{
				this.iHLDLJGDCBL_ = value;
			}
		}

		// Token: 0x0600E4AC RID: 58540 RVA: 0x00263633 File Offset: 0x00261833
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as TrainPartyGamePassenger);
		}

		// Token: 0x0600E4AD RID: 58541 RVA: 0x00263644 File Offset: 0x00261844
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(TrainPartyGamePassenger other)
		{
			return other != null && (other == this || (this.DIKPBINAOOH == other.DIKPBINAOOH && this.PassengerId == other.PassengerId && object.Equals(this.IHLDLJGDCBL, other.IHLDLJGDCBL) && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600E4AE RID: 58542 RVA: 0x002636A4 File Offset: 0x002618A4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.DIKPBINAOOH != 0U)
			{
				num ^= this.DIKPBINAOOH.GetHashCode();
			}
			if (this.PassengerId != 0U)
			{
				num ^= this.PassengerId.GetHashCode();
			}
			if (this.iHLDLJGDCBL_ != null)
			{
				num ^= this.IHLDLJGDCBL.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600E4AF RID: 58543 RVA: 0x00263712 File Offset: 0x00261912
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600E4B0 RID: 58544 RVA: 0x0026371A File Offset: 0x0026191A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600E4B1 RID: 58545 RVA: 0x00263724 File Offset: 0x00261924
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.iHLDLJGDCBL_ != null)
			{
				output.WriteRawTag(26);
				output.WriteMessage(this.IHLDLJGDCBL);
			}
			if (this.PassengerId != 0U)
			{
				output.WriteRawTag(80);
				output.WriteUInt32(this.PassengerId);
			}
			if (this.DIKPBINAOOH != 0U)
			{
				output.WriteRawTag(88);
				output.WriteUInt32(this.DIKPBINAOOH);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600E4B2 RID: 58546 RVA: 0x0026379C File Offset: 0x0026199C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.DIKPBINAOOH != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.DIKPBINAOOH);
			}
			if (this.PassengerId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.PassengerId);
			}
			if (this.iHLDLJGDCBL_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.IHLDLJGDCBL);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600E4B3 RID: 58547 RVA: 0x0026380C File Offset: 0x00261A0C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(TrainPartyGamePassenger other)
		{
			if (other == null)
			{
				return;
			}
			if (other.DIKPBINAOOH != 0U)
			{
				this.DIKPBINAOOH = other.DIKPBINAOOH;
			}
			if (other.PassengerId != 0U)
			{
				this.PassengerId = other.PassengerId;
			}
			if (other.iHLDLJGDCBL_ != null)
			{
				if (this.iHLDLJGDCBL_ == null)
				{
					this.IHLDLJGDCBL = new ECJBKGKPJCJ();
				}
				this.IHLDLJGDCBL.MergeFrom(other.IHLDLJGDCBL);
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600E4B4 RID: 58548 RVA: 0x00263888 File Offset: 0x00261A88
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600E4B5 RID: 58549 RVA: 0x00263894 File Offset: 0x00261A94
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 26U)
				{
					if (num != 80U)
					{
						if (num != 88U)
						{
							this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
						}
						else
						{
							this.DIKPBINAOOH = input.ReadUInt32();
						}
					}
					else
					{
						this.PassengerId = input.ReadUInt32();
					}
				}
				else
				{
					if (this.iHLDLJGDCBL_ == null)
					{
						this.IHLDLJGDCBL = new ECJBKGKPJCJ();
					}
					input.ReadMessage(this.IHLDLJGDCBL);
				}
			}
		}

		// Token: 0x04005A76 RID: 23158
		private static readonly MessageParser<TrainPartyGamePassenger> _parser = new MessageParser<TrainPartyGamePassenger>(() => new TrainPartyGamePassenger());

		// Token: 0x04005A77 RID: 23159
		private UnknownFieldSet _unknownFields;

		// Token: 0x04005A78 RID: 23160
		public const int DIKPBINAOOHFieldNumber = 11;

		// Token: 0x04005A79 RID: 23161
		private uint dIKPBINAOOH_;

		// Token: 0x04005A7A RID: 23162
		public const int PassengerIdFieldNumber = 10;

		// Token: 0x04005A7B RID: 23163
		private uint passengerId_;

		// Token: 0x04005A7C RID: 23164
		public const int IHLDLJGDCBLFieldNumber = 3;

		// Token: 0x04005A7D RID: 23165
		private ECJBKGKPJCJ iHLDLJGDCBL_;
	}
}
